|
| #define | syUnlockFile(_file,_offsetHigh,_offsetLow,_lengthHigh,_lengthLow,_timeout) ((_file==ERROR)? NQ_FAIL:NQ_SUCCESS) |
| |
| #define | syLockFile(_file,_offsetHigh,_offsetLow,_lengthHigh,_lengthLow,_lockType,_oplockLevel) ((_file==ERROR)? NQ_FAIL:NQ_SUCCESS) |
| |
File locking
The default implementation is mere a placeholder
| #define syUnlockFile |
( |
|
_file, |
|
|
|
_offsetHigh, |
|
|
|
_offsetLow, |
|
|
|
_lengthHigh, |
|
|
|
_lengthLow, |
|
|
|
_timeout |
|
) |
| ((_file==ERROR)? NQ_FAIL:NQ_SUCCESS) |
| #define syLockFile |
( |
|
_file, |
|
|
|
_offsetHigh, |
|
|
|
_offsetLow, |
|
|
|
_lengthHigh, |
|
|
|
_lengthLow, |
|
|
|
_lockType, |
|
|
|
_oplockLevel |
|
) |
| ((_file==ERROR)? NQ_FAIL:NQ_SUCCESS) |